package com.example.questionnaire.constant;

import lombok.Data;

public enum QuestionnaireConstant {
    //        问卷状态(1表示问卷已发布，2表示终止问卷)
    release(1,"问卷已发布"),
    stop(2,"问卷已终止"),
    newOne(3,"问卷新创建");


    private   Integer status;
    private  String msg;

    QuestionnaireConstant(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public Integer getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }
}
